import Vue from 'vue'
import App from './App'
import {
	router,
	RouterMount
} from "@/utils/router";
import store from "@/store/index.js"
import {
	http,
	timeFormat
} from '@/config/common.js' // 全局挂载引入，配置相关在该index.js文件里修改
Vue.prototype.$http = http
Vue.prototype.$timeFormat = timeFormat
Vue.config.productionTip = false
App.mpType = 'app'
//引入路由
Vue.use(router);
const app = new Vue({
	store,
	...App
})
// #ifdef H5
RouterMount(app, router, "#app");
// #endif
app.$mount()